package com.liangxiao.wifichat.model;

import java.io.Serializable;

/**
 * 备注:
 *
 * @author hmb
 * @version 1.0
 * @since 2015/9/15 23:05
 */
public class BaseMessage implements Serializable {
    public static final int TYPE_CHAT = 1;//聊天
    public static final int TYPE_ENTRY = 2;//上线
    public static final int TYPE_EIXT = 3;//下线
    private int type;
    private String IMEI;
    private String name;
    private String content;
    private Object obj;

    public BaseMessage() {
    }

    public BaseMessage(int type) {
        this.type = type;
    }
    public void setContent(String content){
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public String getContent() {
        return content;
    }

    public Object getExtras() {
        return obj;
    }

    public void setExtras(Object obj) {
        this.obj = obj;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
